package com.wench.design.pattern.visitor;

/**
 * 具体访问者角色类
 *
 * @author wench
 */
public class Someone implements Person {

    @Override
    public void feed(Cat cat) {
        System.out.println("其他人喂食宠物猫");
    }

    @Override
    public void feed(Dog dog) {
        System.out.println("其他人喂食宠物狗");
    }
}
